addType ( class in module jsPlumbUIComponent )

Description

Adds a type to the component. Note this is distinct from setType , which overrides all current types - this function just adds a type to the existing list.

Parameters